<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">API数据列表</li>
  </ol>
  
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="">API数据属性</th>
        <th width="">API数据值(双击内容可编辑)</th>
        <th width="">API数据说明</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="s in settings">
        <td>{{s.settingKey}}</td>
        <td ng-dblclick="toUpdate(s.id)">
          <span ng-show="!isEdit[s.id]">{{s.settingValue}}</span>
          <input class="form-control" ng-init="settingsValue[s.id]=s.settingValue"
          ng-if="isEdit[s.id]" name="settingValue" ng-model="settingsValue[s.id]" ng-blur="updateValue(s.id)">
        </td>
        <td>{{s.settingRemark}}</td>
      </tr>
    </tbody>
  </table>

  <div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="withdraws.length > 0"></div>
</div>
